package test.demo.service;

import com.zhj.helloframework.core.annotation.Service;
import test.demo.pojo.Book;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: zhj
 * @Description:
 * @Date: 2021/11/17 13:51
 * @Version: 1.0
 */
@Service
public class BookService {
    public List<Book> getAllBooksInfo() {
        List<Book> booksInfo = new ArrayList<>();
        booksInfo.add(new Book("Java编程规范","高斯林"));
        booksInfo.add(new Book("JAVA核心技术Ⅰ","Fundamentals"));
        booksInfo.add(new Book("Java编程思想","埃克尔"));
        return booksInfo;
    }
}
